﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class GroupProductService
	{
		private static readonly GroupProductDAL db = new GroupProductDAL();
		#region[GroupProduct_GetById]
		public static DataTable GroupProduct_GetById(string Id)
		{
			return db.GroupProduct_GetById(Id);
		}
		#endregion
		#region[GroupProduct_GetByAll]
		public static DataTable GroupProduct_GetByAll()
		{
			return db.GroupProduct_GetByAll();
		}
		#endregion
		#region[GroupProduct_GetByTop]
		public static DataTable GroupProduct_GetByTop(string Top, string Where, string Order)
		{
			return db.GroupProduct_GetByTop(Top, Where, Order);}
		#endregion
		#region[GroupProduct_Insert]
		public static void GroupProduct_Insert(GroupProductInfo Data)
		{
			 db.GroupProduct_Insert(Data);
		}
		#endregion
		#region[GroupProduct_Update]
		public static void GroupProduct_Update(GroupProductInfo Data)
		{
			 db.GroupProduct_Update(Data);
		}
		#endregion
		#region[GroupProduct_Delete]
		public static void GroupProduct_Delete(string Id)
		{
			 db.GroupProduct_Delete(Id);
		}
		#endregion
	}
}